package com.aaa.entity;

public class DeptEntity {
    private long deptid;
    private String deptname;
    private String location;
    private com.aaa.entity.Emp emp;

    public DeptEntity() {
    }

    public DeptEntity(long deptid, String deptname, String location, com.aaa.entity.Emp emp) {
        this.deptid = deptid;
        this.deptname = deptname;
        this.location = location;
        this.emp = emp;
    }

    public long getDeptid() {
        return this.deptid;
    }

    public void setDeptid(long deptid) {
        this.deptid = deptid;
    }

    public String getDeptname() {
        return this.deptname;
    }

    public void setDeptname(String deptname) {
        this.deptname = deptname;
    }

    public String getLocation() {
        return this.location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public com.aaa.entity.Emp getEmp() {
        return this.emp;
    }

    public void setEmp(com.aaa.entity.Emp emp) {
        this.emp = emp;
    }

    public String toString() {
        return "Dept{deptid=" + this.deptid + ", deptname='" + this.deptname + '\'' + ", location='" + this.location + '\'' + ", emp=" + this.emp + '}';
    }
}